Optoacoustic spectroscopy